/**
 * Created by Administrator on 2017/1/14 0014.
 */
// image hover
$(document).on('mouseenter', '.element', function() {
    $(this).popover('show');
});
$(document).on('mouseleave', '.element', function() {
    $(this).popover('hide');
});

function save_cid(id) {
    if (arguments[1] == 1 && arguments[2] != 2) {
        return false;
    }
    $("#category_id").val(id);
}

